
import { createRouter, createWebHashHistory } from "vue-router";
import {constantRouterMap} from "./route_list";
import routeSafe from "./route_safe";
const router = createRouter({
  history: createWebHashHistory(),
  routes: constantRouterMap,
});
router.afterEach(() => {
  window.scrollTo(0, 0);
});
export default routeSafe(router);
